﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.Entity
{
    public class SiteConfigInfo
    {
        public SiteConfigInfo() { }

        private string _webname = "";
        private string _weburl = "";
        private bool _isclose = false;
        private string _closereason = "";



        private int _zhituinum = 10;
        private int _zhituiceng = 5;

        private float _zhitui = 10;
        private float _zhitui2 = 10;
        private string _zhituipath = "";
        private float _baodanjiang = 0;


        private float _rates = 5;
        private float _gold = 0;
        private float _gwb = 30;
        private float _aixin = 10;
        private float _shuishou = 5;
        private float _chongxiaofei = 10;
        private float _mintixian = 10;

        private int _ztup = 0;
        private int _ztdown = 0;
        private int _ceng = 0;
        private float _tzmoney = 0;
        private int _zt1up = 0;
        private int _zt1down = 0;
        private int _ceng1 = 0;
        private float _tzmoney1 = 0;
        private int _zt2up = 0;
        private int _zt2down = 0;
        private int _ceng2 = 0;
        private float _tzmoney2 = 0;
        private int _zt3up = 0;
        private int _zt3down = 0;
        private int _ceng3 = 0;
        private float _tzmoney3 = 0;
        private int _zt4up = 0;
        private int _zt4down = 0;
        private int _ceng4 = 0;
        private float _tzmoney4 = 0;

        private string _webpath = "/";
        private string _webmanagepath = "manage";

        private string _smsapiurl = "";
        private string _smsusername = "";
        private string _smspassword = "";
        private string _smsnickname = "";

        private string _emailsmtp = "";
        private int _emailssl = 0;
        private int _emailport = 25;
        private string _emailfrom = "";
        private string _emailusername = "";
        private string _emailpassword = "";
        private string _emailnickname = "";


        private string _filepath = "upload";
        private int _filesave = 1;
        private string _fileextension = "gif,jpg,png,bmp,rar,zip,doc,xls,txt";
        private string _videoextension = "flv,mp3,mp4,avi";
        private int _attachsize = 51200;
        private int _videosize = 102400;
        private int _imgsize = 200;// 200K
        private int _imgmaxheight = 800;
        private int _imgmaxwidth = 800;
        private int _imgmaxheightmob = 0;
        private int _imgmaxwidthmob = 0;
        private int _thumbnailheight = 0;
        private int _thumbnailwidth = 0;
        private int _watermarktype = 0;
        private int _watermarkposition = 9;
        private int _watermarkimgquality = 80;
        private string _watermarkpic = "";
        private int _watermarktransparency = 10;
        private string _watermarktext = "";
        private string _watermarkfont = "";
        private int _watermarkfontsize = 12;

        private string _sysencryptstring = "dG8X-007";

        #region 主站基本信息==================================
        /// <summary>
        /// 网站名称
        /// </summary>
        public string webname
        {
            get { return _webname; }
            set { _webname = value; }
        }
        /// <summary>
        /// 网站域名
        /// </summary>
        public string weburl
        {
            get { return _weburl; }
            set { _weburl = value; }
        }
        /// <summary>
        /// 是否关闭网站
        /// </summary>
        public bool isclose
        {
            get { return _isclose; }
            set { _isclose = value; }
        }
        private bool _visiter_weixin = false;
        /// <summary>
        /// 必须在微信端访问
        /// </summary>
        public bool visiter_weixin
        {
            get { return _visiter_weixin; }
            set { _visiter_weixin = value; }
        }

        /// <summary>
        /// 关闭理由
        /// </summary>
        public string closereason
        {
            get { return _closereason; }
            set { _closereason = value; }
        }

        private string _app_android = "";
        private string _app_iphone = "";

        /// <summary>
        /// 安卓APP下载地址
        /// </summary>
        public string app_android
        {
            get { return _app_android; }
            set { _app_android = value; }
        }
        /// <summary>
        /// 安卓APP下载地址
        /// </summary>
        public string app_iphone
        {
            get { return _app_iphone; }
            set { _app_iphone = value; }
        }


        #endregion


        #region 奖金税收百分比设置
        private string _biname = "";
        private string _biname2 = "";
        private string _yuename = "";
        private string _pointname = "";
        private string _hongbao = "";

        private float _zengsong = 0;
        private float _zengsong_tjr = 0;
        private float _zengsong_recharge = 0;

        /// <summary>
        /// 可用共建值的名称
        /// </summary>
        public string biname
        {
            get { return _biname; }
            set { _biname = value; }
        }
        /// <summary>
        /// 锁仓共建值的名称
        /// </summary>
        public string biname2
        {
            get { return _biname2; }
            set { _biname2 = value; }
        }

        /// <summary>
        /// 余额显示的名称
        /// </summary>
        public string yuename
        {
            get { return _yuename; }
            set { _yuename = value; }
        }
        /// <summary>
        /// 积分显示的名称
        /// </summary>
        public string pointname
        {
            get { return _pointname; }
            set { _pointname = value; }
        }
        /// <summary>
        ///  红包显示的名称
        /// </summary>
        public string hongbao
        {
            get { return _hongbao; }
            set { _hongbao = value; }
        }



        /// <summary>
        /// 注册赠送积分
        /// </summary>
        public float zengsong
        {
            get { return _zengsong; }
            set { _zengsong = value; }
        }
        /// <summary>
        /// 推荐人赠送积分
        /// </summary>
        public float zengsong_tjr
        {
            get { return _zengsong_tjr; }
            set { _zengsong_tjr = value; }
        }
        /// <summary>
        /// 充值赠送积分 百分比
        /// </summary>
        public float zengsong_recharge
        {
            get { return _zengsong_recharge; }
            set { _zengsong_recharge = value; }
        }






        /// <summary>
        /// 一个人最多能直推的人数
        /// </summary>
        public int zhituinum
        {
            get { return _zhituinum; }
            set { _zhituinum = value; }
        }


        private int _jiandianceng = 0;
        private float _jiandian = 0;
        /// <summary>
        /// 见点奖能享受的层数
        /// </summary>
        public int jiandianceng
        {
            get { return _jiandianceng; }
            set { _jiandianceng = value; }
        }

        /// <summary>
        /// 见点奖
        /// </summary>
        public float jiandian
        {
            get { return _jiandian; }
            set { _jiandian = value; }
        }


        /// <summary>
        /// 直推奖能享受的层数
        /// </summary>
        public int zhituiceng
        {
            get { return _zhituiceng; }
            set { _zhituiceng = value; }
        }

        /// <summary>
        /// 直推奖
        /// </summary>
        public float zhitui
        {
            get { return _zhitui; }
            set { _zhitui = value; }
        }

        /// <summary>
        /// 上二级直推奖
        /// </summary>
        public float zhitui2
        {
            get { return _zhitui2; }
            set { _zhitui2 = value; }
        }

        /// <summary>
        /// 直推奖享受路径
        /// </summary>
        public string zhituipath
        {
            get { return _zhituipath; }
            set { _zhituipath = value; }
        }


        /// <summary>
        /// 报单奖
        /// </summary>
        public float baodanjiang
        {
            get { return _baodanjiang; }
            set { _baodanjiang = value; }
        }

        private int _xh_days = 1;
        private int _xh_days_del = 1;

         /// <summary>
        /// 预销户未登录天数
        /// </summary>
        public int xh_days
        {
            get { return _xh_days; }
            set { _xh_days = value; }
        }
           /// <summary>
        /// 销户未登录天数 90天 （彻底删除）
        /// </summary>
        public int xh_days_del
        {
            get { return _xh_days_del; }
            set { _xh_days_del = value; }
        }
        
        


        /// <summary>
        /// 可用共建值 百分比
        /// </summary>
        public float gold
        {
            get { return _gold; }
            set { _gold = value; }
        }

        /// <summary>
        /// 购物积分百分比
        /// </summary>
        public float gwb
        {
            get { return _gwb; }
            set { _gwb = value; }
        }

        /// <summary>
        /// 养老共建值 税收百分比
        /// </summary>
        public float shuishou
        {
            get { return _shuishou; }
            set { _shuishou = value; }
        }


        /// <summary>
        /// 爱心奖百分比
        /// </summary>
        public float aixin
        {
            get { return _aixin; }
            set { _aixin = value; }
        }





        /// <summary>
        /// 重消费百分比
        /// </summary>
        public float chongxiaofei
        {
            get { return _chongxiaofei; }
            set { _chongxiaofei = value; }
        }
        /// <summary>
        /// 最少提现金额
        /// </summary>
        public float mintixian
        {
            get { return _mintixian; }
            set { _mintixian = value; }
        }
        /// <summary>
        /// 提现手续费百分比
        /// </summary>
        public float rates
        {
            get { return _rates; }
            set { _rates = value; }
        }




        private float _tic_minzhuanzhang = 0;
        /// <summary>
        /// tic币互转最低金额
        /// </summary>
        public float tic_minzhuanzhang
        {
            get { return _tic_minzhuanzhang; }
            set { _tic_minzhuanzhang = value; }
        }
        private float _tic_rate = 0;
        /// <summary>
        /// tic币互转 手续费
        /// </summary>
        public float tic_rate
        {
            get { return _tic_rate; }
            set { _tic_rate = value; }
        }

        private int _sjzc_renzheng_people = 0;
        private int _sjzc_ewai_zengsong = 0;
        private int _sjzc_zengsong_today = 0;
        private float _sjzc_scorePer = 0;
        private float _sjzc_xfjlPer = 0;
         
         /// <summary>
        /// 平台前实名认证人数 给额外奖励 前2999名
        /// </summary>
        public int sjzc_renzheng_people
        {
            get { return _sjzc_renzheng_people; }
            set { _sjzc_renzheng_people = value; }
        }
        /// <summary>
        /// 额外赠送时间共建值量  9000万
        /// </summary>
        public int sjzc_ewai_zengsong
        {
            get { return _sjzc_ewai_zengsong; }
            set { _sjzc_ewai_zengsong = value; }
        }

          /// <summary>
        /// 今日时间共建值赠送量
        /// </summary>
        public int sjzc_zengsong_today
        {
            get { return _sjzc_zengsong_today; }
            set { _sjzc_zengsong_today = value; }
        }
       

        /// <summary>
        /// 时间共建值分配给贡献值的百分比 %
        /// </summary>
        public float sjzc_scorePer
        {
            get { return _sjzc_scorePer; }
            set { _sjzc_scorePer = value; }
        }
       
        
        /// <summary>
        /// 时间共建值分配给 消费奖励的百分比 %
        /// </summary>
        public float sjzc_xfjlPer
        {
            get { return _sjzc_xfjlPer; }
            set { _sjzc_xfjlPer = value; }
        }


        /// <summary>
        /// 分享奖1 分享人数最小值
        /// </summary>
        public int ztup
        {
            get { return _ztup; }
            set { _ztup = value; }
        }
        /// <summary>
        /// 分享奖1 分享人数最大值
        /// </summary>
        public int ztdown
        {
            get { return _ztdown; }
            set { _ztdown = value; }
        }

        /// <summary>
        /// 分享奖1 享受奖励天数
        /// </summary>
        public int ceng
        {
            get { return _ceng; }
            set { _ceng = value; }
        }

        /// <summary>
        /// 分享奖1 自己需投资的金额
        /// </summary>
        public float tzmoney
        {
            get { return _tzmoney; }
            set { _tzmoney = value; }
        }


        /// <summary>
        /// 分享奖2 分享人数最小值
        /// </summary>
        public int zt1up
        {
            get { return _zt1up; }
            set { _zt1up = value; }
        }
        /// <summary>
        /// 分享奖2 分享人数最大值
        /// </summary>
        public int zt1down
        {
            get { return _zt1down; }
            set { _zt1down = value; }
        }

        /// <summary>
        /// 分享奖2 享受见点奖层数
        /// </summary>
        public int ceng1
        {
            get { return _ceng1; }
            set { _ceng1 = value; }
        }

        /// <summary>
        /// 分享奖2 自己需投资的金额
        /// </summary>
        public float tzmoney1
        {
            get { return _tzmoney1; }
            set { _tzmoney1 = value; }
        }


        /// <summary>
        /// 分享奖3 分享人数最小值
        /// </summary>
        public int zt2up
        {
            get { return _zt2up; }
            set { _zt2up = value; }
        }
        /// <summary>
        /// 分享奖3 分享人数最大值
        /// </summary>
        public int zt2down
        {
            get { return _zt2down; }
            set { _zt2down = value; }
        }


        /// <summary>
        /// 分享奖3 享受见点奖层数
        /// </summary>
        public int ceng2
        {
            get { return _ceng2; }
            set { _ceng2 = value; }
        }

        /// <summary>
        /// 分享奖3 自己需投资的金额
        /// </summary>
        public float tzmoney2
        {
            get { return _tzmoney2; }
            set { _tzmoney2 = value; }
        }


        /// <summary>
        /// 分享奖4    分享人数最小值
        /// </summary>
        public int zt3up
        {
            get { return _zt3up; }
            set { _zt3up = value; }
        }
        /// <summary>
        /// 分享奖4 分享人数最大值
        /// </summary>
        public int zt3down
        {
            get { return _zt3down; }
            set { _zt3down = value; }
        }
        /// <summary>
        /// 分享奖4 享受见点奖层数
        /// </summary>
        public int ceng3
        {
            get { return _ceng3; }
            set { _ceng3 = value; }
        }
        /// <summary>
        /// 分享奖4 自己需投资的金额
        /// </summary>
        public float tzmoney3
        {
            get { return _tzmoney3; }
            set { _tzmoney3 = value; }
        }

        /// <summary>
        /// 分享奖5    分享人数最小值
        /// </summary>
        public int zt4up
        {
            get { return _zt4up; }
            set { _zt4up = value; }
        }
        /// <summary>
        /// 分享奖5 分享人数最大值
        /// </summary>
        public int zt4down
        {
            get { return _zt4down; }
            set { _zt4down = value; }
        }
        /// <summary>
        /// 分享奖5 享受见点奖层数
        /// </summary>
        public int ceng4
        {
            get { return _ceng4; }
            set { _ceng4 = value; }
        }
        /// <summary>
        /// 分享奖5 自己需投资的金额
        /// </summary>
        public float tzmoney4
        {
            get { return _tzmoney4; }
            set { _tzmoney4 = value; }
        }

        private float _fh_jxs = 0;
        private float _fh_hehuoren = 0;
        private float _fh_gudong = 0;
        private float _fh_service = 0;

        /// <summary>
        /// 全国经销商分红比例
        /// </summary>
        public float fh_jxs
        {
            get { return _fh_jxs; }
            set { _fh_jxs = value; }
        }

        /// <summary>
        /// 领导人分红比例
        /// </summary>
        public float fh_hehuoren
        {
            get { return _fh_hehuoren; }
            set { _fh_hehuoren = value; }
        }


        /// <summary>
        /// 股东分红比例
        /// </summary>
        public float fh_gudong
        {
            get { return _fh_gudong; }
            set { _fh_gudong = value; }
        }

        /// <summary>
        /// 体验店补贴比例
        /// </summary>
        public float fh_service
        {
            get { return _fh_service; }
            set { _fh_service = value; }
        }


        private int _qiandao_jl = 0;
        /// <summary>
        /// 每天签到送积分
        /// </summary>
        public int qiandao_jl
        {
            get { return _qiandao_jl; }
            set { _qiandao_jl = value; }
        }

        #endregion

        #region 交易参数
        private float _jiaoyi_minamount = 0;
        private float _jiaoyi_rate = 0;
        private float _jiaoyi_return_price = 0;
        private float _jiaoyi_return_fengding = 0;
        private int _jiaoyi_hour = 0;
        private int _jiaoyi_payhour = 0;
        private float _jiaoyi_hongbao_rate = 0;
        private float _jiaoyi_kyper = 0;

        /// <summary>
        /// 交易市场,0开启，1全部关闭，
        /// </summary>
        private bool _isPageClose = false;

        /// <summary>
        /// 交易市场
        /// </summary>
        public bool IsPageClose
        {
            get { return _isPageClose; }
            set { _isPageClose = value; }
        }

        private string _pageCloseReason = "";

        /// <summary>
        /// 交易市场，关闭原因
        /// </summary>
        public string PageCloseReason
        {
            get { return _pageCloseReason; }
            set { _pageCloseReason = value; }
        }

        /// <summary>
        /// 可用共建值 交易最少数量
        /// </summary>
        public float jiaoyi_minamount
        {
            get { return _jiaoyi_minamount; }
            set { _jiaoyi_minamount = value; }
        }

        /// <summary>
        /// 交易手续费
        /// </summary>
        public float jiaoyi_rate
        {
            get { return _jiaoyi_rate; }
            set { _jiaoyi_rate = value; }
        }
           /// <summary>
        /// 手续费返还价格 0.5分钱
        /// </summary>
        public float jiaoyi_return_price
        {
            get { return _jiaoyi_return_price; }
            set { _jiaoyi_return_price = value; }
        }
        /// <summary>
        /// 手续费月返还封顶 元
        /// </summary>
        public float jiaoyi_return_fengding
        {
            get { return _jiaoyi_return_fengding; }
            set { _jiaoyi_return_fengding = value; }
        }
        

        /// <summary>
        /// 打款时间 小时，超时做封号处理
        /// </summary>
        public int jiaoyi_payhour
        {
            get { return _jiaoyi_payhour; }
            set { _jiaoyi_payhour = value; }
        }

        /// <summary>
        /// 完成交易时间(收款) 小时
        /// </summary>
        public int jiaoyi_hour
        {
            get { return _jiaoyi_hour; }
            set { _jiaoyi_hour = value; }
        }


         /// <summary>
        /// 红包兑换手续费 %
        /// </summary>
        public float jiaoyi_hongbao_rate
        {
            get { return _jiaoyi_hongbao_rate; }
            set { _jiaoyi_hongbao_rate = value; }
        }

       
         /// <summary>
        /// 可用共建值比例 时间共建值变现 
        /// </summary>
        public float jiaoyi_kyper
        {
            get { return _jiaoyi_kyper; }
            set { _jiaoyi_kyper = value; }
        }

        private float _kuizeng_minamount = 0;
        private float _kuizeng_rate = 0;
        private int _kuizeng_return_day = 0;
        private float _kuizeng_minhongbao = 0;
        private float _kuizeng_fengding = 0;
         
         /// <summary>
        /// 馈赠要求最少数量
        /// </summary>
        public float kuizeng_minamount
        {
            get { return _kuizeng_minamount; }
            set { _kuizeng_minamount = value; }
        }

          /// <summary>
        /// 馈赠方手续费 %
        /// </summary>
        public float kuizeng_rate
        {
            get { return _kuizeng_rate; }
            set { _kuizeng_rate = value; }
        }
        
        /// <summary>
        /// 返还手续费时间（天）  90天后所扣除的10%手续费奖励给受赠方
        /// </summary>
        public int kuizeng_return_day
        {
            get { return _kuizeng_return_day; }
            set { _kuizeng_return_day = value; }
        }
      
          /// <summary>
        /// 馈赠双方红包要求 元
        /// </summary>
          public float kuizeng_minhongbao
        {
            get { return _kuizeng_minhongbao; }
            set { _kuizeng_minhongbao = value; }
        }
          /// <summary>
          /// 接受方账户可用共建值封顶 元   接受方账户可用共建值总价值不高于20万元方可接受馈赠，接受馈赠后账户可用共建值总价值不得高于20万元。
          /// </summary>
          public float kuizeng_fengding
          {
              get { return _kuizeng_fengding; }
              set { _kuizeng_fengding = value; }
          }

        #endregion

        #region 可用共建值释放规则参数

        private float _sf_minscore = 0;
        private float _sf_zt_huoruedu = 0;
        private float _sf_zt_realname = 0;
        private float _sf_zt_xiaofei = 0;
        private float _sf_zt_hongbao = 0;
        private float _sf_jt_huoruedu = 0;
        private float _sf_jt_realname = 0;
        private float _sf_jt_xiaofei = 0;
        private float _sf_jt_hongbao = 0;

        /// <summary>
        /// 日活跃状态 昨日贡献值要求
        /// </summary>
        public float sf_minscore
        {
            get { return _sf_minscore; }
            set { _sf_minscore = value; }
        }

        /// <summary>
        /// 直推的用户近30天内日均活跃度达标到39%以上 公式：当日活跃用户÷（近30天直推用户-预销户）。
        /// </summary>
        public float sf_zt_huoruedu
        {
            get { return _sf_zt_huoruedu; }
            set { _sf_zt_huoruedu = value; }
        }

        /// <summary>
        /// 直推的用户实名率达到39%以上。 公式：实名直推用户÷（直推用户-预销户）。
        /// </summary>
        public float sf_zt_realname
        {
            get { return _sf_zt_realname; }
            set { _sf_zt_realname = value; }
        }
        /// <summary>
        /// 直推的用户近30天消费比例达到25%以上。 公式：近30天内有消费红包的直推用户÷(直推人数-贡献值3万以内的用户-预销户）。
        /// </summary>
        public float sf_zt_xiaofei
        {
            get { return _sf_zt_xiaofei; }
            set { _sf_zt_xiaofei = value; }
        }
        /// <summary>
        /// 直推的用户近30天内人均累计的红包值达5元以上。公式：直推用户近30天内消费所得红包÷（直推人数-贡献值3万以内的用户-预销户）。
        /// </summary>
        public float sf_zt_hongbao
        {
            get { return _sf_zt_hongbao; }
            set { _sf_zt_hongbao = value; }
        }


        /// <summary>
        /// 伞下间推用户近30天内日均活跃度达到29%以上。 公式：当日活跃用户÷（近30天间推用户-预销户）。
        /// </summary>
        public float sf_jt_huoruedu
        {
            get { return _sf_jt_huoruedu; }
            set { _sf_jt_huoruedu = value; }
        }

        /// <summary>
        /// 间推用户实名率达到10%以上。 公式：实名间推用户÷（间推用户-预销户）。
        /// </summary>
        public float sf_jt_realname
        {
            get { return _sf_jt_realname; }
            set { _sf_jt_realname = value; }
        }

        /// <summary>
        /// 间推用户近30天内消费比例达到12%以上。 公式：近30天内有消费红包的间推用户÷(间推人数-贡献值3万以内的用户-预销户）。
        /// </summary>
        public float sf_jt_xiaofei
        {
            get { return _sf_jt_xiaofei; }
            set { _sf_jt_xiaofei = value; }
        }
        /// <summary>
        /// 间推用户近30天内人均累计得到红包值达到3元以上。公式：间推用户近30天内消费所得红包÷（间推人数-贡献值3万以内的用户-预销户）。
        /// </summary>
        public float sf_jt_hongbao
        {
            get { return _sf_jt_hongbao; }
            set { _sf_jt_hongbao = value; }
        }


        #endregion

        #region 服务网点参数
        private float _fwwd_amount = 0;
        private int _fwwd_fh_day = 0;
        private int _fwwd_fh_smrzrs = 0;
        private float _fwwd_fh_hongbao = 0;
        private int _fwwd_youxiu_smrzrs = 0;
        private int _fwwd_wdjlzc = 0;
        private int _fwwd_sf_score = 0;
        private int _fwwd_sf_zt_pfs = 0;
        private int _fwwd_sf_jt_pfs = 0;

        /// <summary>
        /// 开通服务网点的费用 99元/年
        /// </summary>
        public float fwwd_amount
        {
            get { return _fwwd_amount; }
            set { _fwwd_amount = value; }
        }
        /// <summary>
        /// 付款后15天内  则返还99元红包。
        /// </summary>
        public int fwwd_fh_day
        {
            get { return _fwwd_fh_day; }
            set { _fwwd_fh_day = value; }
        }
        /// <summary>
        /// 直接推荐实名认证用户30名，则返还99元红包。
        /// </summary>
        public int fwwd_fh_smrzrs
        {
            get { return _fwwd_fh_smrzrs; }
            set { _fwwd_fh_smrzrs = value; }
        }
         /// <summary>
        /// 返还红包金额
        /// </summary>
        public float fwwd_fh_hongbao
        {
            get { return _fwwd_fh_hongbao; }
            set { _fwwd_fh_hongbao = value; }
        }
        

        /// <summary>
        /// 优秀服务网点条件 绑定30名实名认证的用户
        /// </summary>
        public int fwwd_youxiu_smrzrs
        {
            get { return _fwwd_youxiu_smrzrs; }
            set { _fwwd_youxiu_smrzrs = value; }
        }
        /// <summary>
        /// 每月网点奖励共建值，给优秀服务网点加权平均分配200万共建值，每个ID仅限享受一次
        /// </summary>
        public int fwwd_wdjlzc
        {
            get { return _fwwd_wdjlzc; }
            set { _fwwd_wdjlzc = value; }
        }

         /// <summary>
        /// 释放条件1：个人贡献值（含签到、阅读、推荐、购物）每创造10万贡献值，释放一次
        /// </summary>
        public int fwwd_sf_score
        {
            get { return _fwwd_sf_score; }
            set { _fwwd_sf_score = value; }
        }
          /// <summary>
        /// 释放条件2：每直推1名成为合格批发商，释放一次。
        /// </summary>
        public int fwwd_sf_zt_pfs
        {
            get { return _fwwd_sf_zt_pfs; }
            set { _fwwd_sf_zt_pfs = value; }
        }
          /// <summary>
        /// 释放条件3：每间推6名成为合格批发商，释放一次。
        /// </summary>
        public int fwwd_sf_jt_pfs
        {
            get { return _fwwd_sf_jt_pfs; }
            set { _fwwd_sf_jt_pfs = value; }
        }
        


        #endregion

        #region 消费奖励设置

        private float _xf_day_firstHongbao = 0;
        private float _xf_day_selfPer = 0;
        private float _xf_day_zhitui = 0;
        private float _xf_day_jiantui = 0;

         /// <summary>
        /// 个人（本人）消费红包首次累计达到20元及以上，参与加权平均分配时间共建值的35%
        /// </summary>
        public float xf_day_firstHongbao
        {
            get { return _xf_day_firstHongbao; }
            set { _xf_day_firstHongbao = value; }
        }
        /// <summary>
        /// 有效消费者奖励 60%
        /// </summary>
        public float xf_day_selfPer
        {
            get { return _xf_day_selfPer; }
            set { _xf_day_selfPer = value; }
        }

        /// <summary>
        /// 直推人奖励 30%
        /// </summary>
        public float xf_day_zhitui
        {
            get { return _xf_day_zhitui; }
            set { _xf_day_zhitui = value; }
        }
        /// <summary>
        /// 间推人（批发商）奖励 10%
        /// </summary>
        public float xf_day_jiantui
        {
            get { return _xf_day_jiantui; }
            set { _xf_day_jiantui = value; }
        }

        private int _xf_by_zhituinum = 0;
        private int _xf_by_jlzc = 0;
        private int _xf_sf_day = 0;
        private int _xf_sf_score = 0;
        private float _xf_sf_hongbao = 0;
        private int _xf_sf_score2 = 0;
        private float _xf_sf_hongbao2 = 0;

        /// <summary>
        /// 推荐人数 每半月推荐3个有效消费者为一份奖励 半月周期奖励
        /// </summary>
        public int xf_by_zhituinum
        {
            get { return _xf_by_zhituinum; }
            set { _xf_by_zhituinum = value; }
        }
          /// <summary>
        /// 每天分配奖励用来奖励  半月周期奖励
        /// </summary>
        public int xf_by_jlzc
        {
            get { return _xf_by_jlzc; }
            set { _xf_by_jlzc = value; }
        }
        /// <summary>
        /// 释放考核天数 获得奖励之日起500天内
        /// </summary>
        public int xf_sf_day
        {
            get { return _xf_sf_day; }
            set { _xf_sf_day = value; }
        }
        /// <summary>
        /// 释放条件1  总贡献值要求
        /// </summary>
        public int xf_sf_score
        {
            get { return _xf_sf_score; }
            set { _xf_sf_score = value; }
        }
        /// <summary>
        ///  释放条件1  个人消费红包累计要求
        /// </summary>
        public float xf_sf_hongbao
        {
            get { return _xf_sf_hongbao; }
            set { _xf_sf_hongbao = value; }
        }
        /// <summary>
        /// 释放条件2  总贡献值要求
        /// </summary>
        public int xf_sf_score2
        {
            get { return _xf_sf_score2; }
            set { _xf_sf_score2 = value; }
        }
        /// <summary>
        ///  释放条件2  个人消费红包累计要求
        /// </summary>
        public float xf_sf_hongbao2
        {
            get { return _xf_sf_hongbao2; }
            set { _xf_sf_hongbao2 = value; }
        }

        #endregion

        #region 功能权限设置==================================
        /// <summary>
        /// 网站安装目录
        /// </summary>
        public string webpath
        {
            get { return _webpath; }
            set { _webpath = value; }
        }
        /// <summary>
        /// 网站管理目录
        /// </summary>
        public string webmanagepath
        {
            get { return _webmanagepath; }
            set { _webmanagepath = value; }
        }
        #endregion

        #region 短信平台设置==================================
        /// <summary>
        /// 短信API地址
        /// </summary>
        public string smsapiurl
        {
            get { return _smsapiurl; }
            set { _smsapiurl = value; }
        }
        /// <summary>
        /// 短信平台登录账户名
        /// </summary>
        public string smsusername
        {
            get { return _smsusername; }
            set { _smsusername = value; }
        }
        /// <summary>
        /// 短信平台登录密码
        /// </summary>
        public string smspassword
        {
            get { return _smspassword; }
            set { _smspassword = value; }
        }
        /// <summary>
        /// 手机短信签名
        /// </summary>
        public string smsnickname
        {
            get { return _smsnickname; }
            set { _smsnickname = value; }
        }
        #endregion

        #region 邮件发送设置==================================
        /// <summary>
        /// STMP服务器
        /// </summary>
        public string emailsmtp
        {
            get { return _emailsmtp; }
            set { _emailsmtp = value; }
        }
        /// <summary>
        /// 是否启用SSL加密连接
        /// </summary>
        public int emailssl
        {
            get { return _emailssl; }
            set { _emailssl = value; }
        }
        /// <summary>
        /// SMTP端口
        /// </summary>
        public int emailport
        {
            get { return _emailport; }
            set { _emailport = value; }
        }
        /// <summary>
        /// 发件人地址
        /// </summary>
        public string emailfrom
        {
            get { return _emailfrom; }
            set { _emailfrom = value; }
        }
        /// <summary>
        /// 邮箱账号
        /// </summary>
        public string emailusername
        {
            get { return _emailusername; }
            set { _emailusername = value; }
        }
        /// <summary>
        /// 邮箱密码
        /// </summary>
        public string emailpassword
        {
            get { return _emailpassword; }
            set { _emailpassword = value; }
        }
        /// <summary>
        /// 发件人昵称
        /// </summary>
        public string emailnickname
        {
            get { return _emailnickname; }
            set { _emailnickname = value; }
        }
        #endregion

        #region 文件上传设置==================================
        /// <summary>
        /// 附件上传目录
        /// </summary>
        public string filepath
        {
            get { return _filepath; }
            set { _filepath = value; }
        }
        /// <summary>
        /// 附件保存方式
        /// </summary>
        public int filesave
        {
            get { return _filesave; }
            set { _filesave = value; }
        }
        /// <summary>
        /// 附件上传类型
        /// </summary>
        public string fileextension
        {
            get { return _fileextension; }
            set { _fileextension = value; }
        }
        /// <summary>
        /// 视频上传类型
        /// </summary>
        public string videoextension
        {
            get { return _videoextension; }
            set { _videoextension = value; }
        }
        /// <summary>
        /// 文件上传大小
        /// </summary>
        public int attachsize
        {
            get { return _attachsize; }
            set { _attachsize = value; }
        }
        /// <summary>
        /// 视频上传大小
        /// </summary>
        public int videosize
        {
            get { return _videosize; }
            set { _videosize = value; }
        }
        /// <summary>
        /// 图片上传大小
        /// </summary>
        public int imgsize
        {
            get { return _imgsize; }
            set { _imgsize = value; }
        }
        /// <summary>
        /// 图片最大高度(像素)
        /// </summary>
        public int imgmaxheight
        {
            get { return _imgmaxheight; }
            set { _imgmaxheight = value; }
        }
        /// <summary>
        /// 图片最大宽度(像素)
        /// </summary>
        public int imgmaxwidth
        {
            get { return _imgmaxwidth; }
            set { _imgmaxwidth = value; }
        }

        /// <summary>
        /// 手机图片最大高度(像素)
        /// </summary>
        public int imgmaxheightmob
        {
            get { return _imgmaxheightmob; }
            set { _imgmaxheightmob = value; }
        }
        /// <summary>
        /// 手机图片最大宽度(像素)
        /// </summary>
        public int imgmaxwidthmob
        {
            get { return _imgmaxwidthmob; }
            set { _imgmaxwidthmob = value; }
        }

        /// <summary>
        /// 生成缩略图高度(像素)
        /// </summary>
        public int thumbnailheight
        {
            get { return _thumbnailheight; }
            set { _thumbnailheight = value; }
        }
        /// <summary>
        /// 生成缩略图宽度(像素)
        /// </summary>
        public int thumbnailwidth
        {
            get { return _thumbnailwidth; }
            set { _thumbnailwidth = value; }
        }
        /// <summary>
        /// 图片水印类型
        /// </summary>
        public int watermarktype
        {
            get { return _watermarktype; }
            set { _watermarktype = value; }
        }
        /// <summary>
        /// 图片水印位置
        /// </summary>
        public int watermarkposition
        {
            get { return _watermarkposition; }
            set { _watermarkposition = value; }
        }
        /// <summary>
        /// 图片生成质量
        /// </summary>
        public int watermarkimgquality
        {
            get { return _watermarkimgquality; }
            set { _watermarkimgquality = value; }
        }
        /// <summary>
        /// 图片水印文件
        /// </summary>
        public string watermarkpic
        {
            get { return _watermarkpic; }
            set { _watermarkpic = value; }
        }
        /// <summary>
        /// 水印透明度
        /// </summary>
        public int watermarktransparency
        {
            get { return _watermarktransparency; }
            set { _watermarktransparency = value; }
        }
        /// <summary>
        /// 水印文字
        /// </summary>
        public string watermarktext
        {
            get { return _watermarktext; }
            set { _watermarktext = value; }
        }
        /// <summary>
        /// 文字字体
        /// </summary>
        public string watermarkfont
        {
            get { return _watermarkfont; }
            set { _watermarkfont = value; }
        }
        /// <summary>
        /// 文字大小(像素)
        /// </summary>
        public int watermarkfontsize
        {
            get { return _watermarkfontsize; }
            set { _watermarkfontsize = value; }
        }
        #endregion

        /// <summary>
        /// 加密字符串
        /// </summary>
        public string sysencryptstring
        {
            get { return _sysencryptstring; }
            set { _sysencryptstring = value; }
        }
    }
}
